package ve.com.ucv.changedetection.objects.responses;

import ve.com.ucv.changedetection.objects.Comparation;

import java.io.Serializable;
import java.util.ArrayList;

/**
 * Created by josmaguirre on 1/13/15.
 */
public class ComparationResponse implements Serializable {
    public ArrayList<Comparation> comparations;
    public String message;
    public String messageCode;

    public ComparationResponse(){
        comparations = new ArrayList<Comparation>();
        message = null;
        messageCode = null;
    }

    public ArrayList<Comparation> getComparations() {
        return comparations;
    }

    public void setComparations(ArrayList<Comparation> comparations) {
        this.comparations = comparations;
    }

    public void addComparation(Comparation comparation){
        this.comparations.add(comparation);
    }

    public String getMessageCode() {
        return messageCode;
    }

    public void setMessageCode(String messageCode) {
        this.messageCode = messageCode;
    }

    public String getMessage() {
        return message;
    }

    public void setMessage(String message) {
        this.message = message;
    }
}
